package cn.bon.emp.api.client;

import cn.bon.common.bean.JsonResult;
import cn.bon.emp.api.pojo.po.EmpSkill;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author: dronff
 * @description:
 * @CreateTime: 2023/12/15 16:23
 **/
@FeignClient(value = "bon-emp",path = "/emp")
public interface EmpClient {
    @GetMapping("/skills")
    public JsonResult<List<EmpSkill>> skills();
}
